package com.nidu.demo.role.dto;

import com.nidu.demo.base.BaseCO;
import com.nidu.demo.menu.dto.MenuCO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

@Data
@EqualsAndHashCode(callSuper = true)
@Schema(description = "角色菜单客户端对象")
public class RoleMenuCO extends BaseCO {


    @Schema(description = "角色ID")
    private Long roleId;

    @Schema(description = "菜单对象")
    private List<MenuCO> menus;
}
